var a = getApp();

Page({
    data: {
        statusBarHeight: a.globalData.statusBarHeight,
        win: "false",
        headImg: "",
        correct: 0
    },
    onLoad: function(a) {
        var e = a.time + "s", t = a.opTime + "s";
        this.setData({
            win: a.win,
            opwin: a.opwin,
            headImg: a.headImg,
            correct: a.correct,
            time: e,
            opHeadImg: a.opHeadImg,
            opCorrect: a.opCorrect,
            opTime: t
        });
    },
    goback: function() {
        wx.switchTab({
            url: "/pages/answer/answer"
        });
    }
});